Playful Python Project: Modeling and Animation by Mozgovoy Maxim
Author:Mozgovoy, Maxim
Language: eng
Format: epub
Publisher: CRC Press
Published: 2024-06-06T00:00:00+00:00
5.5âLindenmayer Systems
In the previous projects we observed how simple entities, controlled by simple rules, could produce intricate movements. Now we will take the opposite direction by looking into complexly organized immovable objects. The specific topic of our interest is going to be Lindenmayer systems (or L-systems), created for studying the developmental process of plants and similar organisms [42].
Among the most conspicuous properties of a plant shape are symmetry and self-similarity. Symmetry is a common feature of many living things: the left half of a beech leaf is the mirror image of its right half; two âpizza slicesâ of a daisy flower look alike. Self-similarity is a more elusive concept, used to describe a structure consisting of elements that look similar to the whole. For example, a tree is âself-similarâ because it consists of branches, organized in the same way as the tree itself. Likewise, a compound leaf (such as a fern leaf) consists of leaflets that look similar to the whole leaf.
The complexity of plant structure appears to be an emergent property, arising naturally in the course of the normal plant growth. In other words, we again deal with a complex outcome, produced by a relatively simple process.
_______________________
â3Fun fact: remember that these boids are actually flying turtles in our case. While the original motivation for creating L-systems was to study and model the actual laws behind the process of plant growth, our goal is going to be more modest. In case of boids, we were interested in making the onscreen objects move somewhat like birds, and now we will try to generate patterns that look somewhat like plants.
In a nutshell, L-systems are based on three foundational ideas. The first idea is to represent plant structure with a string of characters. For example, suppose that a certain type of a plant is made of three kinds of elements: a trunk element I, a left leaf L, and a right leaf R. A little specimen of this plant, consisting of a single trunk element and two leaves, can be described with a string LRI (see Figure 5.5). Note that any particular image is just an illustration of one of many possible looks of the LRI plant. The textual description does not really dictate any particular appearance, it is only responsible for the internal structure of the entity we describe.
Figure 5.5: LRI plant.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Data Forecasting and Segmentation Using Microsoft Excel by Fernando Roque(2691)
PostgreSQL 14 Administration Cookbook by Simon Riggs(2218)
Cloud Auditing Best Practices: Perform Security and IT Audits across AWS, Azure, and GCP by building effective cloud auditing plans by Shinesa Cambric Michael Ratemo(1615)
Architects of Intelligence_The Truth About AI From the People Building It by Martin Ford(1239)
In-Memory Analytics with Apache Arrow: Perform fast and efficient data analytics on both flat and hierarchical structured data by Matthew Topol(1036)
Mastering Azure Virtual Desktop: The Ultimate Guide to the Implementation and Management of Azure Virtual Desktop by Ryan Mangan(1014)
Automated Machine Learning in Action by Qingquan Song Haifeng Jin Xia Hu(902)
Python GUI Programming with Tkinter, 2nd edition by Alan D. Moore(870)
Ansible for Real-Life Automation - A complete Ansible handbook filled with practical IT automation use cases (2022) by Packt(742)
Learn Wireshark - A definitive guide to expertly analyzing protocols and troubleshooting networks using Wireshark - 2nd Edition (2022) by Packt(734)
Data Engineering with Scala and Spark by Eric Tome Rupam Bhattacharjee David Radford(417)
Introduction to Algorithms, Fourth Edition by unknow(363)
ABAP Development for SAP HANA by Unknown(359)
Automated Machine Learning in Action by Qingquan Song & Haifeng Jin & Xia Hu(303)
Kubernetes Secrets Handbook by Emmanouil Gkatziouras | Rom Adams | Chen Xi(285)
Asynchronous Programming in Rust by Carl Fredrik Samson;(259)
Learn Enough Developer Tools to Be Dangerous: Git Version Control, Command Line, and Text Editors Essentials by Michael Hartl(255)
Machine Learning for Imbalanced Data by Kumar Abhishek Dr. Mounir Abdelaziz(251)
The AWK Programming Language by Aho Alfred V. Kernighan Brian W. Weinberger Peter J. & Brian W. Kernighan & Peter J. Weinberger(239)
